<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0">
	<title>石门实验中学开放日预约</title>
	<script src="__STATIC__/js/jquery-2.1.4.min.js" type="text/javascript"></script>
</head>

<body>
    <h1>石门实验中学开放日预约</h1>
	<div>
		<table>
			<tr>
				<th width="100">通知书注册编号</th>
				<th width="100">姓名</th>
				<th width="100">活动时段</th>
				<th width="200">活动地点</th>
			</tr>
			<tbody id="result">
			
			</tbody>
		</table>
	</div>
</body>
<script>
	var url = "/kaifangyuyue/yu_yue";
	query();
	function query() {
		$.ajax({
		   type:"GET",
		   url: url + "/getList",
		   data:{},
		   success: function(resp){
				var html = "";
				if(resp != null) {
					for(var i in resp) {
						html+="<tr align='center'><td>"+resp[i].联系电话1+"</td><td>"+resp[i].姓名+"</td><td>"+resp[i].性别+"<td>"+resp[i].身份证号码+"</td></tr>";
					}
				}
				$("#result").html(html);
		   }
		});
	}
	
</script>

</html>
						html+="<p><input type='file' onChange='fileup(this,"+resp.注册编号+")'/></p>";
